/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.admin.vo;

import io.swagger.annotations.ApiModelProperty;
import org.springblade.modules.admin.entity.EstateBuilding;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import org.springblade.modules.system.entity.Dept;

import java.math.BigDecimal;
import java.util.List;

/**
 * 物业项目表视图实体类
 *
 * @author ysq
 * @since 2022-05-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "EstateBuildingVO对象", description = "物业项目表")
public class EstateBuildingVO extends EstateBuilding {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "楼盘名称")
	private String name;

	@ApiModelProperty(value = "类型")
	private String type;

	@ApiModelProperty(value = "省")
	private String provinceName;

	@ApiModelProperty(value = "省code")
	private String provinceCode;

	@ApiModelProperty(value = "市")
	private String cityName;

	@ApiModelProperty(value = "市code")
	private String cityCode;

	@ApiModelProperty(value = "区")
	private String adName;

	@ApiModelProperty(value = "区code")
	private String adCode;

	@ApiModelProperty(value = "详细地址")
	private String address;

	@ApiModelProperty(value = "定位地址")
	private String locationAddress;

	@ApiModelProperty(value = "经度")
	private BigDecimal longitude;

	@ApiModelProperty(value = "纬度")
	private BigDecimal latitude;

	@ApiModelProperty(value = "关联电梯数")
	private Long elevatorTotal;

	@ApiModelProperty(value = "搜索条件-类型（多个逗号分隔）")
	private String types;

	@ApiModelProperty(value = "搜索条件-项目id（多个逗号分隔）")
	private String buildingIds;

	@ApiModelProperty(value = "类型名称")
	private String typeName;

	@ApiModelProperty(value = "搜索条件-所属机构id（多个逗号分隔）")
	private String deptIds;

	@ApiModelProperty(value = "所属机构名称")
	private String deptName;

	@ApiModelProperty(value = "部门类型 1-公司，2-部门，3-小组")
	private Integer deptCategory;

	@ApiModelProperty(value = "祖级列表")
	private String ancestors;

	@ApiModelProperty(value = "祖级机构集合")
	private List<Dept> ancestorsDept;
}
